package com.zhiqingchun.common;

public class ResultBase {
	
	/** 成功状态 */
	private boolean				success				= false;
	
	/** 辅助客户端翻译处理结果代码的描述，包括各层处理结果描述 */
	private String				message				= "";
	
	public boolean isSuccess() {
		return success;
	}

	/**
	 * @return Returns the message
	 */
	public String getMessage() {
		return message;
	}
	
	/**
	 * @param message
	 * The message to set.
	 */
	public void setMessage(String message) {
		this.message = message;
	}
	
	/**
	 * @param success
	 * The success to set.
	 */
	public void setSuccess(boolean success) {
		this.success = success;
	}
	
	/**
	 * @return
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "ResultBase [success=" + success + ", message=" + message + "]";
	}
	
}
